home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Very Best of Atari Inside
/
The Very Best of Atari Inside 1.iso
/
mint
/
mntlib43
/
mntlib
/
toxxx.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-09-11
|
402b
|
19 lines
#include <ctype.h>
#undef toupper /* note that in gcc we have a safe version of these, */
#undef tolower /* but its better to leave these as routines in case */
/* some code uses these as function pointers -- i */
/* have seen code that does. */
int toupper(c)
int c;
{
return(islower(c) ? (c ^ 0x20) : (c));
}
int tolower(c)
int c;
{
return(isupper(c) ? (c ^ 0x20) : (c));
}